//
//  YJManager.m
//  单例模式
//
//  Created by YuanJiang on 2019/9/5.
//  Copyright © 2019 llbt. All rights reserved.
//

#import "YJManager.h"

static YJManager *instance=nil;

@implementation YJManager

+(instancetype)shareManager
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[YJManager alloc] init];
    });
    return instance;
}


-(void)create:(NSString *)model
{
    NSLog(@"do something with %@",model);
}


@end
